<template>
    <div style="background-color: white;">
        <p>推荐课程</p>
        <div v-for="(item) in sessionList" :key="item.id">
            <sessionContent :sessionData="item"></sessionContent>
        </div>
    </div>
</template>

<script>
import sessionContent from "@/components/sessionContent";
    export default {
        components:{
            sessionContent
        },
        computed:{
            sessionList(){
                console.log(this.$store.state.detail.commandData);
                return this.$store.state.detail.commandData
            }
        }
    }
</script>

<style lang="scss" scoped>

</style>